package com.example.sxproject.service;

import com.example.sxproject.pojo.Recipient;

import java.util.List;

public interface RecipientService {

    //查询：根据所属用户查询
    List<Recipient> selectByUserId(Integer userId);

    //添加：添加一个收款人
    void addRecipient(Recipient recipient);

    //更新：更新收款人信息
    void updateRecipient(Recipient recipient);

    //更新：假删除
    void delete(Recipient recipient);

}
